<style type="text/css">
.express-info, .order-info{
  min-height: 138px;
}
</style>
<div class="row animated" ng-class="{true: 'fadeInRight', false:'fadeInLeft'}[currentAnimated]">
  <div class="col-xs-12 col-md-12">
    <div class="panel panel-default">
      <div class="panel-heading">
        <a ng-click="discard()" href="javascript:;"><i class="backBtn fa fa-arrow-circle-left"></i></a>
        <span class="panelTitle" ng-bind="Form.title"></span>
      </div>
      <div class="panel-body">
        <div class="row" ng-if="orders.user">
          <div class="col-xs-3"><img style="border-radius: 50%; margin-bottom: 8px " ng-src="{{orders.user.icon}}" width="32" height="32" border="0" />{{orders.user.userName}}</div>
          <div class="col-xs-3">UserID: {{orders.user.userId}}</div>
          <div class="col-xs-3">首次访问：{{orders.user.firstViewTime}}</div>
          <div class="col-xs-3">是否关注公众号：{{orders.user.follow == 1 ? '已关注' : orders.user.follow == 2 ? '取消关注' : '未关注'}}</div>
        </div>
        <div class="row">
          <div class="col-xs-6">
            <div class="panel panel-primary">
              <div class="panel-heading"><span>订单信息</span></div>
              <div class="panel-body order-info">
                <div class="row">
                  <div class="col-xs-3 col-md-2">订单号：</div>
                  <div class="col-xs-9 col-md-10">{{orders.orderNo}}</div>
                </div>
                <div class="row">
                  <div class="col-xs-3 col-md-2">订单类型：</div>
                  <div class="col-xs-9 col-md-10">{{orders.type | mapOrderType}}</div>
                </div>
                <div class="row">
                  <div class="col-xs-3 col-md-2">实付金额：</div>
                  <div class="col-xs-9 col-md-10"><strong>¥{{orders.totalFee}}</strong></div>
                </div>
                <div class="row">
                  <div class="col-xs-3 col-md-2">下单时间：</div>
                  <div class="col-xs-9 col-md-10">{{orders.createAt}}</div>
                </div>
                <div class="row">
                  <div class="col-xs-3 col-md-2">订单状态：</div>
                  <div class="col-xs-9 col-md-10">{{orders.status | mapOrderStatus}}</div>
                </div>
                <div ng-if="orders.refund">
                  <div class="row" ng-if="orders.refund.userStage">
                    <div class="col-xs-3 col-md-2">退款时间：</div>
                    <div class="col-xs-9 col-md-10">{{orders.refund.userStage.createTime}}</div>
                  </div>
                  <div class="row" ng-if="orders.refund.userStage">
                    <div class="col-xs-3 col-md-2">退款原因：</div>
                    <div class="col-xs-9 col-md-10">{{orders.refund.userStage.desc}}</div>
                  </div>
                  <div class="row" ng-if="orders.refund.auditStage && orders.refund.auditStage.createTime">
                    <div class="col-xs-3 col-md-2">审批退款：</div>
                    <div class="col-xs-9 col-md-10">{{orders.refund.auditStage.createTime}}</div>
                  </div>
                  <div class="row" ng-if="orders.refund.auditStage">
                    <div class="col-xs-3 col-md-2">审批备注：</div>
                    <div class="col-xs-9 col-md-10">{{orders.refund.auditStage.desc}}</div>
                  </div>
                  <div class="row" ng-if="orders.refund.finishStage && orders.refund.finishStage.createTime">
                    <div class="col-xs-3 col-md-2">退款成功：</div>
                    <div class="col-xs-9 col-md-10">{{orders.refund.finishStage.createTime}}</div>
                  </div>
                </div>
                <div class="row" ng-if="orders.receiverAt">
                  <div class="col-xs-3 col-md-2">结单时间：</div>
                  <div class="col-xs-9 col-md-10">{{orders.receiverAt}}</div>
                </div>
                <div class="row">
                  <div class="col-xs-3 col-md-2">备注：</div>
                  <div class="col-xs-9 col-md-10 nowrap-line">{{orders.remarks}}</div>
                </div>
              </div>
            </div>
          </div>
          <div class="col-xs-6">
            <div class="panel panel-primary" ng-if="orders.express">
              <div class="panel-heading"><span>物流信息</span></div>
              <div class="panel-body express-info">
                <div class="row">
                  <div class="col-xs-3 col-md-2">收件人：</div>
                  <div class="col-xs-9 col-md-10">{{orders.express.receiver}}</div>
                </div>
                <div class="row">
                  <div class="col-xs-3 col-md-2">联系方式：</div>
                  <div class="col-xs-9 col-md-10" ng-bind="orders.express.mobile"></div>
                </div>
                <div class="row">
                  <div class="col-xs-3 col-md-2">收货地址：</div>
                  <div class="col-xs-9 col-md-10 nowrap-line">{{orders.express.expressAddress}}</div>
                </div>
                <div class="row" ng-if="orders.express.expressNo">
                  <div class="col-xs-3 col-md-2">快递单号：</div>
                  <div class="col-xs-9 col-md-10">{{orders.express.expressNo}}</div>
                </div>
                <div class="row" ng-if="orders.express.expressCompany">
                  <div class="col-xs-3 col-md-2">快递公司：</div>
                  <div class="col-xs-9 col-md-10">{{orders.express.expressCompany}}</div>
                </div>
                <div class="row" ng-if="orders.express.fee">
                  <div class="col-xs-3 col-md-2">快递费：</div>
                  <div class="col-xs-9 col-md-10">¥{{orders.express.fee}}</div>
                </div>
                <div class="row" ng-if="orders.express.deliverAt">
                  <div class="col-xs-3 col-md-2">发货时间：</div>
                  <div class="col-xs-9 col-md-10">{{orders.express.deliverAt}}</div>
                </div>
                <div class="row" ng-if="orders.express && orders.express.gift">
                  <div class="col-xs-3 col-md-2">小礼物：</div>
                  <div class="col-xs-9 col-md-10">{{orders.express.gift}}</div>
                </div>
                <div class="row" ng-if="orders.express && orders.express.recommend">
                  <div class="col-xs-3 col-md-2">推荐商品：</div>
                  <div class="col-xs-9 col-md-10">{{orders.express.recommend}}</div>
                </div>
                <div class="row" ng-if="orders.express && orders.express.remark">
                  <div class="col-xs-3 col-md-2">备注：</div>
                  <div class="col-xs-9 col-md-10">{{orders.express.remark}}</div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="col-xs-12 goods-info">
            <div class="panel panel-primary">
              <div class="panel-heading">商品信息</div>
              <div class="panel-body">
                <table class="table">
                  <tr>
                    <th>商品名称</th>
                    <th>商品价格</th>
                    <th>商品数量</th>
                    <th>小计</th>
                  </tr>
                  <tr ng-repeat="product in orders.products">
                    <td><img ng-if="product.icon" ng-src="/ps/download/{{product.icon}}?h=60&v=v2" height="60">&nbsp;&nbsp;{{product.name}}</td>
                    <td>¥{{product.price}}</span></td>
                    <td>x{{product.count}}</td>
                    <td>¥{{product.price * product.count}}</td>
                  </tr>
                  <tr>
                    <td colspan="3"></td>
                    <td>
                      <p>商品总额：¥{{orders.totalFee + orders.couponFee + orders.discount + (orders.coinValue || 0)}}</p>
                      <p>优惠券抵扣：¥{{orders.couponFee}}</p>
                      <p>金币折扣：¥{{orders.coinValue}}</p>
                      <p>商家折扣：¥{{orders.discount}}</p>
                      <p><strong>实付金额：¥{{orders.totalFee}}</strong></p>
                    </td>
                  </tr>
                </table>
              </div>
            </div>
          </div>
        </div>

        <div class="row" ng-if="orders.deliveryGoods">
          <div class="col-xs-12">
            <div class="panel panel-primary">
              <div class="panel-heading"><span>物流配送</span></div>
              <div class="panel-body">
                <form novalidate role="form" name="orderForm" class="form-horizontal">
                  <div class="form-group" ng-class="{'has-error': orderForm.expressComany.$invalid && orderForm.expressComany.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">快递公司：</label>
                    <div class="col-xs-9 col-md-10">
                      <select class="form-control w25c" name="expressComany" required ng-model="orders.express.expressCode">
                        <option value="">--请选择快递公司--</option>
                        <option ng-repeat="item in orders.expressList" value="{{item.desc}}">{{item.value}}</option>
                      </select>
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': orderForm.expressNo.$invalid && orderForm.expressNo.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">快递单号：</label>
                    <div class="col-xs-9 col-md-10">
                      <input type="text" name="expressNo" class="form-control w25c" placeholder="快递单号" ng-model="orders.express.expressNo" required>
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': orderForm.expressFee.$invalid && orderForm.expressFee.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">快递费：</label>
                    <div class="col-xs-9 col-md-10">
                      <input type="number" name="expressFee" class="form-control w25c" placeholder="快递费" ng-model="orders.express.fee">
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': orderForm.wxNotify.$invalid && orderForm.wxNotify.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">发货提醒：</label>
                    <div class="col-xs-9 col-md-10">
                      <input icheck type="radio" name="wxNotify" ng-model="orders.wxNotify" value="true">&nbsp;发送通知(微信、手机短信)
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': orderForm.recommend.$invalid && orderForm.recommend.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">商品推荐：</label>
                    <div class="col-xs-9 col-md-10">
                      <input type="text" name="recommend" class="form-control w50c" placeholder="商品推荐" ng-model="orders.express.recommend">
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': orderForm.expressGift.$invalid && orderForm.expressGift.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">小礼物：</label>
                    <div class="col-xs-9 col-md-10">
                      <input type="text" name="expressGift" class="form-control w50c" placeholder="小礼物" ng-model="orders.express.gift">
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': orderForm.expressRemark.$invalid && orderForm.expressRemark.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">备注：</label>
                    <div class="col-xs-9 col-md-10">
                      <textarea name="expressRemark" class="form-control w50c" placeholder="备注" ng-model="orders.express.remark"></textarea>
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': orderForm.internalRemark.$invalid && orderForm.internalRemark.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">内部备注：</label>
                    <div class="col-xs-9 col-md-10">
                      <textarea name="internalRemark" class="form-control w50c" placeholder="内部备注" ng-model="orders.express.internalRemark"></textarea>
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': orderForm.deliveryStatus.$invalid && orderForm.deliveryStatus.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">发货状态：</label>
                    <div class="col-xs-9 col-md-10">
                      <input icheck type="radio" name="deliveryStatus" ng-model="orders.deliveryStatus" value="0">&nbsp;全部发货&nbsp;&nbsp;&nbsp;&nbsp;
                      <input icheck type="radio" name="deliveryStatus" ng-model="orders.deliveryStatus" value="1">&nbsp;部分发货
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="control-label col-xs-3 col-md-2"><font color="red">*</font>发货图片：</label>
                    <div class="col-xs-7 col-md-8">
                      <div class="button btn btn-primary fl" ngf-select="upload($files)" multiple="multiple" ngf-pattern="'image/*'"
                        ngf-accept="'image/*'" ngf-max-size="10MB">上传图片</div>
                      <iconlist></iconlist>
                    </div>
                  </div>
                  <div class="col-xs-offset-2 col-md-offset-2 col-xs-offset-10 col-md-offset-10">
                    <button class="btn btn-danger" type="submit" ng-click="doDelivery()" ng-disabled="orderForm.$invalid">保存</button>
                    <button class="btn btn-white" ng-click="cancelDelivery()">取消操作</button>
                  </div>
                </form>
              </div>
            </div>
          </div>
        </div>

        <div class="row" ng-if="orders.editPrice">
          <div class="col-xs-12">
            <div class="panel panel-primary">
              <div class="panel-heading"><span>修改商品价格</span></div>
              <div class="panel-body">
                <form novalidate role="form" name="orderPriceForm" class="form-horizontal">
                  <div class="form-group" ng-class="{'has-error': orderPriceForm.discount.$invalid && orderPriceForm.discount.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">折扣价：</label>
                    <div class="col-xs-9 col-md-10">
                      <input type="number" name="discount" class="form-control w25c" ng-model="orders.discountAmount" required />
                    </div>
                  </div>
                  <div class="col-xs-offset-2 col-md-offset-2 col-xs-offset-10 col-md-offset-10">
                    <button class="btn btn-danger" type="submit" ng-click="savePrice()" ng-disabled="orderPriceForm.$invalid">保存价格</button>
                    <button class="btn btn-default" ng-click="discardEditPrice()">取消</button>
                  </div>
                </form>
              </div>
            </div>
          </div>
        </div>

        <div class="row" ng-if="orders.delayDelivery">
          <div class="col-xs-12">
            <div class="panel panel-primary">
              <div class="panel-heading"><span>延迟发货提醒</span></div>
              <div class="panel-body">
                <form novalidate role="form" name="delayForm" class="form-horizontal">
                  <div class="form-group" ng-class="{'has-error': delayForm.delayReason.$invalid && delayForm.delayReason.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">微信通知内容：</label>
                    <div class="col-xs-9 col-md-10">
                      <textarea name="delayReason" class="form-control w50c" ng-model="orders.delayReason" required></textarea>
                    </div>
                  </div>
                  <div class="col-xs-offset-2 col-md-offset-2 col-xs-offset-10 col-md-offset-10">
                    <button class="btn btn-danger" type="submit" ng-click="sendDelayMsg()" ng-disabled="delayForm.$invalid">发送</button>
                    <button class="btn btn-default" ng-click="cancelDelayMsg()">取消</button>
                  </div>
                </form>
              </div>
            </div>
          </div>
        </div>

        <div class="row" ng-if="orders.annouceMsg">
          <div class="col-xs-8">
            <div class="panel panel-primary">
              <div class="panel-heading"><span>订单受理提醒</span></div>
              <div class="panel-body">
                <form novalidate role="form" name="annouceMsgForm" class="form-horizontal">
                  <div class="form-group" ng-class="{'has-error': orderForm.platform.$invalid && orderForm.platform.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">发送平台：</label>
                    <div class="col-xs-9 col-md-10">
                      <input icheck type="radio" name="platform" ng-model="orders.platform" value="weixin">&nbsp;微信通知&nbsp;&nbsp;
                      <input icheck type="radio" name="platform" ng-model="orders.platform" value="mobile">&nbsp;手机短信
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': annouceMsgForm.orderNo.$invalid && annouceMsgForm.orderNo.$dirty}" ng-if="orders.platform == 'weixin'">
                    <label class="col-xs-3 col-md-2 control-label">订单号：</label>
                    <div class="col-xs-9 col-md-10">
                      <input name="orderNo" class="form-control" ng-model="orders.orderNo"></input>
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': annouceMsgForm.orderStatus.$invalid && annouceMsgForm.orderStatus.$dirty}" ng-if="orders.platform == 'weixin'">
                    <label class="col-xs-3 col-md-2 control-label">订单状态：</label>
                    <div class="col-xs-9 col-md-10">
                      <input name="orderStatus" class="form-control" ng-model="orders.orderStatus" placeholder="如: 缺货提醒"></input>
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': annouceMsgForm.first.$invalid && annouceMsgForm.first.$dirty}" ng-if="orders.platform == 'weixin'">
                    <label class="col-xs-3 col-md-2 control-label">通知内容：</label>
                    <div class="col-xs-9 col-md-10">
                      <textarea name="first" class="form-control" ng-model="orders.first" placeholder="通知内容" required></textarea>
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': annouceMsgForm.remark.$invalid && annouceMsgForm.remark.$dirty}" ng-if="orders.platform == 'weixin'">
                    <label class="col-xs-3 col-md-2 control-label">特别备注：</label>
                    <div class="col-xs-9 col-md-10">
                      <input name="remark" class="form-control" placeholder="特别备注内容" ng-model="orders.remark"></input>
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': annouceMsgForm.smsMsg.$invalid && annouceMsgForm.smsMsg.$dirty}" ng-if="orders.platform == 'mobile'">
                    <label class="col-xs-3 col-md-2 control-label">短信内容：</label>
                    <div class="col-xs-9 col-md-10">
                      <textarea name="smsMsg" class="form-control" ng-model="orders.smsMsg" placeholder="短信内容" required></textarea>
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': annouceMsgForm.expressComany.$invalid && annouceMsgForm.expressComany.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">快递公司：</label>
                    <div class="col-xs-9 col-md-10">
                      <select class="form-control w25c" name="expressComany" ng-model="orders.express.expressCode">
                        <option value="">--请选择快递公司--</option>
                        <option ng-repeat="item in orders.expressList" value="{{item.desc}}">{{item.value}}</option>
                      </select>
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': annouceMsgForm.expressNo.$invalid && annouceMsgForm.expressNo.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">快递单号：</label>
                    <div class="col-xs-9 col-md-10">
                      <input type="text" name="expressNo" class="form-control w25c" placeholder="快递单号" ng-model="orders.express.expressNo">
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': annouceMsgForm.expressFee.$invalid && annouceMsgForm.expressFee.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">快递费：</label>
                    <div class="col-xs-9 col-md-10">
                      <input type="number" name="expressFee" class="form-control w25c" placeholder="快递费" ng-model="orders.express.fee">
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': annouceMsgForm.deliveryStatus.$invalid && annouceMsgForm.deliveryStatus.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">发货状态：</label>
                    <div class="col-xs-9 col-md-10">
                      <input icheck type="radio" name="deliveryStatus" ng-model="orders.deliveryStatus" value="0">&nbsp;全部发货&nbsp;&nbsp;&nbsp;&nbsp;
                      <input icheck type="radio" name="deliveryStatus" ng-model="orders.deliveryStatus" value="1">&nbsp;部分发货
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="control-label col-xs-3 col-md-2"><font color="red">*</font>发货图片：</label>
                    <div class="col-xs-7 col-md-8">
                      <div class="button btn btn-primary fl" ngf-select="upload($files)" multiple="multiple" ngf-pattern="'image/*'"
                        ngf-accept="'image/*'" ngf-max-size="10MB">上传图片</div>
                      <iconlist></iconlist>
                    </div>
                  </div>
                  <div class="col-xs-offset-2 col-md-offset-2 col-xs-offset-10 col-md-offset-10">
                    <button class="btn btn-danger" type="submit" ng-click="sendAnnouceMsg()" ng-disabled="annouceMsgForm.$invalid">发送</button>
                    <button class="btn btn-default" ng-click="cancelAnnounceMsg()">取消</button>
                  </div>
                </form>
              </div>
            </div>
          </div>
          <div class="col-xs-4">
            <img src="/ps/download/5b9389b2e4b0b23d57445521" border="0" ng-if="orders.platform == 'weixin'" />
            <img src="/ps/download/5bdc4679e4b009b7223c519b" border="0" ng-if="orders.platform == 'mobile'" />
          </div>
        </div>

        <div class="row" ng-if="orders.refunds">
          <div class="col-xs-12">
            <div class="panel panel-primary">
              <div class="panel-heading"><span>审批退款</span></div>
              <div class="panel-body">
                <form novalidate role="form" name="refundForm" class="form-horizontal">
                  <div class="form-group" ng-class="{'has-error': refundForm.refundAmount.$invalid && refundForm.refundAmount.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">退款金额：</label>
                    <div class="col-xs-9 col-md-10">
                      <select class="form-control w25c" name="refundAmount" required ng-model="orders.refundAmount">
                        <option value="1">全额退款</option>
                      </select>
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': refundForm.refundMethod.$invalid && refundForm.refundMethod.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">退款方式：</label>
                    <div class="col-xs-9 col-md-10">
                      <input class="form-control w25c" name="refundMethod" ng-model="orders.refundMethod" disabled>
                    </div>
                  </div>
                  <div class="form-group" ng-class="{'has-error': refundForm.refundComment.$invalid && refundForm.refundComment.$dirty}">
                    <label class="col-xs-3 col-md-2 control-label">退款备注：</label>
                    <div class="col-xs-9 col-md-10">
                      <textarea class="form-control" name="refundComment" ng-model="orders.refundComment" required></textarea>
                    </div>
                  </div>
                  <div class="col-xs-offset-2 col-md-offset-2 col-xs-offset-10 col-md-offset-10">
                    <button class="btn btn-danger" type="submit" ng-click="doRefund()" ng-disabled="refundForm.$invalid">通过</button>
                    <button class="btn btn-warning" ng-click="rejectRefund()" ng-disabled="refundForm.$invalid">拒绝</button>
                    <button class="btn btn-default" ng-click="cancelRefund()">取消</button>
                  </div>
                </form>
              </div>
            </div>
          </div>
        </div>

        <!-- 发货日志 -->
        <div class="row" ng-if="deliverlog">
          <div class="col-xs-12">
            <div class="panel panel-primary">
              <div class="panel-heading"><span>发货日志</span></div>
              <div class="panel-body">
                <table class="table table-striped">
                  <thead>
                    <tr>
                      <th>操作时间</th>
                      <th>快递单号(公司)</th>
                      <th>状态</th>
                      <th>发货图</th>
                      <th>发货内容</th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr ng-repeat="(index, item) in deliverlog">
                      <td>{{item.operateTime}}</td>
                      <td ng-if="item.deliverNo">{{item.deliverNo}}({{item.deliverCompany}})</td>
                      <td ng-if="!item.deliverNo">无需发货</td>
                      <td>{{item.status == '0' ? '全部发货' : (item.status == '1' ? '部分发货' : '延迟发货')}}</td>
                      <td ng-if="item.pics.length">
                        <a href="/ps/download/{{icon}}" target="_blank" ng-repeat="(index, icon) in item.pics">
                          <img src="/ps/download/{{icon}}" alt="" border="0" width="32" style="margin-right: 5px">
                        </a>
                      </td>
                      <td ng-if="!item.pics.length">暂无图片</td>
                      <td>{{item.remark || '无内容'}}</td>
                    </tr>
                  </tbody>
                </table>
              </div>
            </div>
          </div>
        </div>

        <div class="row">
          <div class="col-xs-12 text-right">
            <button class="btn btn-primary" ng-if="orders.status == 0" ng-click="editPrice()">订单改价</button>
            <button class="btn btn-info" ng-if="orders.status == 1" ng-click="readyDelivery()">商品发货</button>
            <!-- <button class="btn btn-warning" ng-if="orders.status == 1" ng-click="readyDelay()">延迟发货提醒</button> -->
            <button class="btn btn-warning" ng-if="orders.status == 5 || orders.status == 8" ng-click="refund()">审批退款</button>
            <button class="btn btn-warning" ng-click="openAnnouceMsg()">订单受理通知</button>
            <a class="btn btn-default" ng-if="orders.status == 2" ui-sref=".express">物流跟踪</a>
            <a class="btn btn-primary" ng-if="orders.status == 1" ng-click="closeOrder()">自提结单</a>
            <a class="btn btn-default" ui-sref=".print">打印商品清单</a>
          </div>
        </div>
      </div>
    </div>    
  </div>
</div>

<imagepreview></imagepreview>
<upload-task></upload-task>